class TransferActivity : Activity() {
    private lateinit var cardScrollView: CardScrollView
    private lateinit var transferManager: TransferManager

    override fun onCreate(bundle: Bundle?) {
        super.onCreate(bundle)
        
        cardScrollView = CardScrollView(this).apply {
            setAdapter(TransferCardAdapter(this@TransferActivity))
            activate()
        }
        setContentView(cardScrollView)
        
        setupGestureDetector()
    }

    private fun setupGestureDetector() {
        val gestureDetector = GestureDetector(this)
        gestureDetector.setBaseListener { gesture ->
            when (gesture) {
                Gesture.TAP -> handleTap()
                Gesture.SWIPE_RIGHT -> handleSwipeRight()
                Gesture.SWIPE_LEFT -> handleSwipeLeft()
                else -> false
            }
        }
    }
} 